/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "车抢单表",TableName = "car_prebook_order")]
[Table("car_prebook_order")]
    public partial class CarPrebookOrder:BaseEntity
    {
        /// <summary>
       ///组件
       /// </summary>
       [Key]
       [Display(Name ="组件")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long id { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="car_rental_addr")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string car_rental_addr { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="car_return_addr")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string car_return_addr { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="car_ renters_ number")]
       [Column(TypeName="int")]
       public int? car_renters_number { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="car_ order_sn")]
       [Column(TypeName="bigint")]
       public long? car_order_sn { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="create_time")]
       [Column(TypeName="datetime")]
       public DateTime? create_time { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="car_rental_time")]
       [Column(TypeName="datetime")]
       public DateTime? car_rental_time { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="car_return_time")]
       [Column(TypeName="datetime")]
       public DateTime? car_return_time { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="status")]
       [Column(TypeName="int")]
       public int? status { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="remark")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string remark { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="other_parts_data")]
       [Column(TypeName="nvarchar()")]
       public string other_parts_data { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="car_type_data")]
       [Column(TypeName="nvarchar()")]
       public string car_type_data { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="car_bindid")]
       [Column(TypeName="bigint")]
       public long? car_bindid { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="userid")]
       [Column(TypeName="bigint")]
       public long? userid { get; set; }

       
    }
}